package com.web.model.crawler;

import java.util.HashSet;
import java.util.Set;

/**
 * TbGrading entity. @author MyEclipse Persistence Tools
 */

public class TbGrading implements java.io.Serializable {

	// Fields

	private String id;
	private TbGrading tbGrading;
	private String grade;
	private String name;
	private Integer state;
	private String url;
	private Set tbGradings = new HashSet(0);
	private Set tbPcComs = new HashSet(0);
	private Set tbSmComs = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbGrading() {
	}

	/** minimal constructor */
	public TbGrading(String id) {
		this.id = id;
	}

	/** full constructor */
	public TbGrading(String id, TbGrading tbGrading, String grade, String name, Integer state, String url, Set tbGradings, Set tbPcComs, Set tbSmComs) {
		this.id = id;
		this.tbGrading = tbGrading;
		this.grade = grade;
		this.name = name;
		this.state = state;
		this.url = url;
		this.tbGradings = tbGradings;
		this.tbPcComs = tbPcComs;
		this.tbSmComs = tbSmComs;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public TbGrading getTbGrading() {
		return this.tbGrading;
	}

	public void setTbGrading(TbGrading tbGrading) {
		this.tbGrading = tbGrading;
	}

	public String getGrade() {
		return this.grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Set getTbGradings() {
		return this.tbGradings;
	}

	public void setTbGradings(Set tbGradings) {
		this.tbGradings = tbGradings;
	}

	public Set getTbPcComs() {
		return this.tbPcComs;
	}

	public void setTbPcComs(Set tbPcComs) {
		this.tbPcComs = tbPcComs;
	}

	public Set getTbSmComs() {
		return this.tbSmComs;
	}

	public void setTbSmComs(Set tbSmComs) {
		this.tbSmComs = tbSmComs;
	}

}